package cn.vire.electric.simulation.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @auther jw
 * @date 2022-03-09
 */
@ConfigurationProperties("biz.simulate.statistics")
@Data
@Component
public class StatisticsProperty {
    private List<StatisticsCategory> categories;

    @Data
    public static class StatisticsCategory{
        private String name;
        private String value;
    }
}
